package com.kuang.pop;

import com.sun.xml.internal.ws.developer.Serialization;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @Author Ma Wenqi
 * @Date 2021/4/3 16:38
 * @Version 1.0
 */

@Component
@AllArgsConstructor
@NoArgsConstructor
@Data
//对象在企业中，我们所有的pojo都会序列化！SpringBoot
public class User implements Serializable {
    private String name;
    private int age;

}
